﻿using System.Collections.Generic;
using NOSDC.Pocos;
using System.Web.Mvc;

namespace NOSDC.Areas.Admin.Models
{
    public class EventsViewModel
    {
        public IEnumerable<Events> Events { get; set; }
        public IEnumerable<SelectListItem> StatusValues { get; set; }

        public EventsViewModel()
        {
            Events = new List<Events>();

            StatusValues = new List<SelectListItem>
            {
                new SelectListItem{
                    Text = "Active",
                    Value= "1",
                    Selected = true
                },
                   new SelectListItem{
                    Text = "Inactive",
                    Value= "2",
                    Selected = false
                }
            };
        }


    }
}